<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片标签的属性</title>
</head>
<body>
    <center>正常图片</center>
    <img src="大兵.gif" alt="这是大兵图片">
    <hr>
    <center>alt属性</center>
    <img src="大兵1.gif" alt="这是大兵图片">
    <hr>
    <center>title属性</center>
    <img src="大兵.gif" alt="这是大兵图片" title="这是一个大兵">
    <hr>
    <center>设置宽高</center>
    <img src="大兵.gif" alt="这是大兵图片" width="200" height="50">
    <img src="大兵.gif" alt="这是大兵图片" width="100">
    <img src="大兵.gif" alt="这是大兵图片" height="400">
</body>
</html>